package com.woniu.apiBoss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

//  启动类     不使用数据库配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//  注册服务
@EnableDiscoveryClient
//  调用其他服务
@EnableFeignClients(basePackages = {"com.woniu.internalcommon.remote","com.woniu"})
public class ApiBossApplication {

	public static void main(String[] args) {
		SpringApplication.run(ApiBossApplication.class, args);
	}

}
